package com.youtellv1.service;

import com.github.pagehelper.PageInfo;
import com.youtellv1.entity.Teachers;

public interface TeachersService {

    PageInfo<Teachers> findTeachersByPage(int page, int size);


    Teachers findAllService(Teachers teachers);

    Teachers findTeaById(Integer tid);

    void saveService(Teachers teachers);

    void updateFlagService(Integer tid, Integer flag);

    void updateService(Teachers teachers);

    void deleteService(Teachers teachers);

    Integer teachersCountService();

    Teachers findNameByTid(Integer tid);

    Teachers findById(Integer id);
}
